<!DOCTYPE html>
<html lang="zh-CN">
    <head>
        <meta charset="UTF-8">
        <meta http-equiv="x-ua-compatible" content="IE=edge, chrome=1" />
        <meta name="renderer" content="webkit">
        <title>收货地址-会员中心</title>
    <link rel="stylesheet" href="{$theme_path}/css/style.css"/>
    <script src="{$theme_path}/js/jquery-1.8.3.min.js"></script>
    <script src="__PUBLIC__/common/validate/jquery.validate-1.13.1.js"></script>
    <script src="__PUBLIC__/common/layer/layer.js?v=20182145212"></script>
    <style type="text/css">
 input[type="checkbox"]{appearance: none; -webkit-appearance: none;outline: none;display:none}
 label{width:20px;height:20px;cursor:pointer; vertical-align:bottom}
label input[type="checkbox"] + span{width:22px;height:18px;display:inline-block;background:url(__PUBLIC__/home/images/checkbox_01.gif)  no-repeat;background-position:0 0;}
label input[type="checkbox"]:checked + span{background-position:0 -21px}
</style>
    </head>
    <body>
        <div class="bg_heise" style="display:block;">
    <div class="lanmu">
   
        <table>
            <tr>
                <td>收货人：</td>
                <td><input type="text"  id="realname" name="realname"  class="input2"/></td>
            </tr>
            <tr>
                <td>收货地区：</td>
                <td>
                  <span id="span_province">
                 <select name="province" id="province" class="share_sel_1">
                                        <option value="">选择省份</option>
                                        <foreach name="province" item="prov">
                                            <option value="{$prov.province}">{$prov.province}</option>
                                        </foreach>
                     </select>
                    </span>
                     <span id="span_city"></span>
                                <span id="span_area"></span>
                                <input type="hidden" id="hid_province" name="hid_province" value="" />
                                <input type="hidden" id="hid_city" name="hid_city" value="" />
                                <input type="hidden" id="hid_area" name="hid_area" value="" />
                </td>
            </tr>
            <tr>
                <td>详细地址：</td>
                <td><input type="text" class="input2 input3" name="address" id="address"/></td>
            </tr>
            <tr>
                <td>手机：</td>
                <td>
                <input type="text" class="input2 input4"  name="phone" id="phone" /></td>
            </tr>
            <tr>
                <td> 邮编：</td>
                <td><input type="text" class="input2 input5"  name="zip" id="zip" /></td>
            </tr>
            <tr>
                <td></td>
                <td>
                <label><input type="checkbox" name="is_default" id="is_default" value="1" onclick="sel_all(this.form)" checked="checked" ><span></span></label>设置为默认地址
               </td>
            </tr>
            <tr>
                <td></td>
                <td><a class="bc" id="btn_add">确认添加</a></td>
            </tr>
        </table>
    </div>
</div>
        <link rel="stylesheet" type="text/css" href="__PUBLIC__/common/artDialog6/css/ui-dialog.css" />
        <script type="text/javascript" src="__PUBLIC__/common/artDialog6/dist/dialog-min.js"></script>
        <script type="text/javascript">
            var fwshop_root = "__APP__";
            var url_address_add = "{:U('Member/address_add')}?";//添加收货地址请求地址
            var url_address_list = "{:U('Member/address')}?";//收货地址列表
            var url_city_sel = "{:U('Address/city_sel')}?";//根据省份获取城市列表
            var url_area_sel = "{:U('Address/area_sel')}?";//根据城市获取地区列表
            var url_get_zip = "{:U('Address/get_zip')}?";//根据地区获取邮政编码
        </script>
        <script src="{$theme_path}/js/member_address_ajax.js?20181206_3"></script>
    </body>
</html>